package com.moons.printerdemo;

import android.app.Application;
import android.view.Gravity;

import com.hjq.toast.ToastUtils;

public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();


        ToastUtils.init(this);

        ToastUtils.setGravity(Gravity.BOTTOM, 0, 30);


//        Devices.getInstance().deviceInit(getApplicationContext(), new SimpleInitResults() {
//            @Override
//            public void allInitialized(boolean success) {
//            }
//
//            @Override
//            public void tempModuleConnected(boolean isConnected) {
//            }
//        });
    }
}
